var app=new Vue({
	el:'#app',
	data:{
		seltop:[
				{'id':'first1.html','url':'first1.html','title':'链八卦'},
				{'id':'first2.html','url':'first2.html','title':'链头条'},
				{'id':'first3.html','url':'first3.html','title':'挖矿咨询'}
				],
		nowsel:0,
	},
	methods:{
		mesel:function(e){
			app.nowsel=e.target.id;
			var gallery = mui('.mui-slider');
			gallery.slider().gotoItem(e.target.id);
		},
		mesel2:function(e){
			
		},
		sel_foot:function(e){
			app.foot_sel=e.target.id;
			var gallery = mui('.mui-slider');
			gallery.slider().gotoItem(app.nowsel);
		},
		see:function(e){
			var id=e.target.id;
			mui.openWindow({
				    url:'detailwen.html',
				    id:'detailwen.html',
				    extras:{
				        name:'123465456',
				    }
				});
		},
		nowpage:function(e){
			console.log(e);
			app.nowsel=e.detail.slideNumber;
		}
	}
})


	
